package com.cankfc.service.Impl;

import java.util.ArrayList;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import org.springframework.stereotype.Service;

import com.cankfc.dao.RoledaoInfo;
import com.cankfc.service.RoleServiceInfo;

@Service("roleService")
public class RoleService extends HibernateDaoSupport implements RoleServiceInfo {
	private RoledaoInfo roledao;

	public RoledaoInfo getRoledao() {
		return roledao;
	}

	public void setRoledao(RoledaoInfo roledao) {
		this.roledao = roledao;
	}

	@Override
	public ArrayList findRole() throws Exception {
		// TODO Auto-generated method stub
		return roledao.findRole();
	}

}
